﻿using System;
namespace Producers.Liiklusregister.Xtee.Riik.Ee.Producer.Liiklusregister {
    
    
    public partial class PolYlevVastus : global::Producers.Liiklusregister.Xtee.Riik.Ee.Producer.Liiklusregister.IPolYlevVastus {
        
        private decimal @__kood;
        
        private string @__teade;
        
        private string @__yvKp;
        
        private string @__jargmYv;
        
        private string @__regmrk;
        
        private string @__mark;
        
        private string @__vinkood;
        
        private string @__otsus;
        
        public PolYlevVastus() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public PolYlevVastus(decimal @kood, string @teade, string @yvKp, string @jargmYv, string @regmrk, string @mark, string @vinkood, string @otsus) {
            this.@__kood = @kood;
            this.@__teade = @teade;
            this.@__yvKp = @yvKp;
            this.@__jargmYv = @jargmYv;
            this.@__regmrk = @regmrk;
            this.@__mark = @mark;
            this.@__vinkood = @vinkood;
            this.@__otsus = @otsus;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected PolYlevVastus(IPolYlevVastus @polYlevVastus) {
            this.@__kood = @polYlevVastus.Kood;
            this.@__teade = @polYlevVastus.Teade;
            this.@__yvKp = @polYlevVastus.YvKp;
            this.@__jargmYv = @polYlevVastus.JargmYv;
            this.@__regmrk = @polYlevVastus.Regmrk;
            this.@__mark = @polYlevVastus.Mark;
            this.@__vinkood = @polYlevVastus.Vinkood;
            this.@__otsus = @polYlevVastus.Otsus;
        }
        
        public virtual decimal Kood {
            get {
                return this.@__kood;
            }
            set {
                this.@__kood = value;
            }
        }
        
        public virtual string Teade {
            get {
                return this.@__teade;
            }
            set {
                this.@__teade = value;
            }
        }
        
        public virtual string YvKp {
            get {
                return this.@__yvKp;
            }
            set {
                this.@__yvKp = value;
            }
        }
        
        public virtual string JargmYv {
            get {
                return this.@__jargmYv;
            }
            set {
                this.@__jargmYv = value;
            }
        }
        
        public virtual string Regmrk {
            get {
                return this.@__regmrk;
            }
            set {
                this.@__regmrk = value;
            }
        }
        
        public virtual string Mark {
            get {
                return this.@__mark;
            }
            set {
                this.@__mark = value;
            }
        }
        
        public virtual string Vinkood {
            get {
                return this.@__vinkood;
            }
            set {
                this.@__vinkood = value;
            }
        }
        
        public virtual string Otsus {
            get {
                return this.@__otsus;
            }
            set {
                this.@__otsus = value;
            }
        }
    }
}
